package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.common.AreaControlVO;
import com.jwsoft.manager.common.vo.eduCompany.EduCompanyKeyVO;
import com.jwsoft.manager.common.vo.eduCompany.EduCompanyQueryVO;
import com.jwsoft.manager.common.vo.eduCompany.EduCompanyVO;
import com.jwsoft.manager.common.vo.individuation.QySaveVO;
import com.jwsoft.manager.common.vo.individuation.QySearchVO;

import java.util.List;

/**
 * 企业信息管理业务本地接口
 *
 * @author wangtao
 * @since 2022-12-28
 */
public interface EduCompanyIntegration {
    /** 分页查询 */
    PageInfo<EduCompanyVO> getList(EduCompanyQueryVO vo);
    /** 根据主键查询详情 */
    EduCompanyVO getById(EduCompanyKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduCompanyVO vo);
    /** 新增 */
    EduCompanyVO add(EduCompanyVO vo);
    /** 修改 */
    EduCompanyVO edit(EduCompanyVO vo);
    /** 根据主键删除 */
    void del(EduCompanyKeyVO vo);
    /**
     * 获取企业信息并保存
     * */
    List<EduCompanyVO> getCompanyAndSave(QySaveVO vo);

    /**
     * 获取企业信息
     * */
    List<EduCompanyVO> getCompany(QySearchVO vo);

    /**
     * 家长端获取我的营业执照信息
     * */
    List<EduCompanyVO> getAppCompanyList(AreaControlVO vo);
}
